package com.example.musicrunner.client;

import com.example.musicrunner.R;

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.webkit.WebView;

public class WebKitActivity extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
	    setContentView(R.layout.activity_web_kit);
	     
	    WebView myBrowser=(WebView)findViewById(R.id.browser);                
	       
	    myBrowser.getSettings().setJavaScriptEnabled(true); 
	    
	    String url = "http://www.lastfm.ru/home";  
	    myBrowser.loadUrl(url);
	}
}
